from .bird_dataset import BirdDataset

def get_trainval_datasets(tag, resize):
    if tag == 'bird':
        return BirdDataset(phase='train', resize=resize), BirdDataset(phase='val', resize=resize)
    else:
        raise ValueError('Unsupported Tag {}'.format(tag))